<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Release 8.1.13</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.1.2 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Release Notes"
HREF="release.html"><LINK
REL="PREVIOUS"
TITLE="Release 8.1.14"
HREF="release-8-1-14.html"><LINK
REL="NEXT"
TITLE="Release 8.1.12"
HREF="release-8-1-12.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2011-12-01T22:07:59"></HEAD
><BODY
CLASS="SECT1"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
><A
HREF="index.html"
>PostgreSQL 9.1.2 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="Release 8.1.14"
HREF="release-8-1-14.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="release.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
>Appendix E. Release Notes</TD
><TD
WIDTH="20%"
ALIGN="right"
VALIGN="top"
><A
TITLE="Release 8.1.12"
HREF="release-8-1-12.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="RELEASE-8-1-13"
>E.74. Release 8.1.13</A
></H1
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Release Date: </B
>2008-06-12</P
></BLOCKQUOTE
></DIV
><P
>   This release contains one serious and one minor bug fix over 8.1.12.
   For information about new features in the 8.1 major release, see
   <A
HREF="release-8-1.html"
>Section E.87</A
>.
  </P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN119912"
>E.74.1. Migration to Version 8.1.13</A
></H2
><P
>    A dump/restore is not required for those running 8.1.X.
    However, if you are upgrading from a version earlier than 8.1.2,
    see the release notes for 8.1.2.
   </P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN119915"
>E.74.2. Changes</A
></H2
><P
></P
><UL
><LI
><P
>      Make <CODE
CLASS="FUNCTION"
>pg_get_ruledef()</CODE
> parenthesize negative constants (Tom)
     </P
><P
>      Before this fix, a negative constant in a view or rule might be dumped
      as, say, <TT
CLASS="LITERAL"
>-42::integer</TT
>, which is subtly incorrect: it should
      be <TT
CLASS="LITERAL"
>(-42)::integer</TT
> due to operator precedence rules.
      Usually this would make little difference, but it could interact with
      another recent patch to cause
      <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> to reject what had been a valid
      <TT
CLASS="COMMAND"
>SELECT DISTINCT</TT
> view query.  Since this could result in
      <SPAN
CLASS="APPLICATION"
>pg_dump</SPAN
> output failing to reload, it is being treated
      as a high-priority fix.  The only released versions in which dump
      output is actually incorrect are 8.3.1 and 8.2.7.
     </P
></LI
><LI
><P
>      Make <TT
CLASS="COMMAND"
>ALTER AGGREGATE ... OWNER TO</TT
> update
      <TT
CLASS="STRUCTNAME"
>pg_shdepend</TT
> (Tom)
     </P
><P
>      This oversight could lead to problems if the aggregate was later
      involved in a <TT
CLASS="COMMAND"
>DROP OWNED</TT
> or <TT
CLASS="COMMAND"
>REASSIGN OWNED</TT
>
      operation.
     </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="release-8-1-14.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="release-8-1-12.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Release 8.1.14</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="release.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Release 8.1.12</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>